*{
    margin: 0;
    padding: 0;
}
ul,li {
    list-style-type: none;
}
a{
    text-decoration: none;
}
html,body{
    height: 100%;
    position: relative;

}

main{
    /* padding-top: 60px; */
    box-sizing: border-box;
    height: 100%;
    display: flex;
    align-items: stretch;
}
main aside{
    width: 180px;
    height: 1000px;
    background-color: #304156;
}

main aside .hezi{
    padding: 20px 30px;
    color: #ccc;
}
.title{
    text-align: center;
    font-weight: 700;
    color: white;
}
main aside .hezi2{
    padding: 20px 45px;
    
}

main aside .hezi span{
    margin-right: 10px;
}
main aside .hezi.active{
    background-color: #1F618D ;
    color: white;
}

#box{
    flex: 1;
    /* margin: 30px; */
    /* padding-top: 20px; */
}
header{
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 0 10px;
    line-height: 45px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgb(209, 205, 205);
}
header span{
    margin-right: 10px;
}
nav{
    border-bottom: 2px solid rgb(209, 205, 205);
}
nav button{
    margin-left: 10px;
    padding: 5px 15px;
    border: 1px solid rgb(233, 229, 229);

}
nav button:nth-child(2){
    background-color: #409eff;
    color: white;

}

.searchbox{

    margin: 20px 15px;
}
.searchbox input{
    outline: none;
    min-width: 300px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding-left: 20px;
    margin-left: 10px;
    margin-right: 20px;
}
.searchbox .search{
    padding: 5px 25px;
    background: #409eff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.searchbox .reset{
    padding: 5px 25px;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid rgb(218, 213, 213);
}
.edit{
    display: flex;
}
.addbox:nth-child(1){
    background-color: #e8f4ff;
    border: 1px solid #a3d3ff;
    padding: 8px 20px;
    margin-left: 10px;
    border-radius: 5px;
    color: #3390ff;
    cursor: pointer;
}
.addbox:nth-child(2){
    background-color: #e7faf0;
    border: 1px solid #d0f5e0;
    padding: 8px 20px;
    margin-left: 10px;
    border-radius: 5px;
    color: #71e2b5;
    cursor: pointer;
}
.addbox:nth-child(3){
    background-color: #ffeded;
    border: 1px solid #ffdbdb;
    padding: 8px 20px;
    margin-left: 10px;
    border-radius: 5px;
    color: #ff9292;
    cursor: pointer;
}
.addbox:nth-child(4){
    background-color: #fff8e6;
    border: 1px solid #ffe399;
    padding: 8px 20px;
    margin-left: 10px;
    border-radius: 5px;
    color: #ffba00;
    cursor: pointer;
}
.addbox .add{
    display: inline-block;
}
.addbox .add span:nth-child(1){
    margin-right: 10px;
}

.table{
    width: 1200px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.table .table-head{
    overflow: hidden;
    background-color: #f8f8f9;
}
.table li{
    width: 120px;
    float: left;
    line-height: 40px;
    padding-left: 15px;
    text-align: center;
    font-weight: 1000;
    text-align: center;

}

.table li:nth-child(7){
    width: 200px;

}

.table .table-body .row{
    width:1200px;
    border-top: 1px solid rgb(217, 213, 213);
    overflow: hidden;
}
.table .table-body .row li{
    font-weight: normal;
    float: left;
    
}
.table .table-body .row:hover{
    background-color: #f5f5f5;
}
.table .table-body .row li:nth-child(6){
    color: white;
}
.table .table-body .row li:nth-child(6){
    display: block;
    width: 50px;
    font-size: 14px;
    border: 1px solid #409eff;
    background-color: #e8f4ff;
    color: #1890ff;
    border-radius: 5px;
    margin-left: 52px;
    margin-top: 5px;
    line-height: 30px;
    text-align: center;
    padding: 0;
}
.table .table-body .row li:nth-child(6).error{
    background-color: red;
}
.table .table-body .row li:nth-child(7){
    width: 200px;
    margin-left: 45px;
    padding: 0;
    margin-top: 4px;
}
.table .table-body .row li:nth-child(7) span{
    margin: 0 8px;
    cursor: pointer;
}
.table .table-body .empty{
    text-align: center;
    margin: 50px;
    color: red;
}
.ope{
    display: flex;
    justify-content: center;
    align-items: center;
}
.ope span{
    margin: 0 10px;
    border: 1px solid #ccc;
    padding: 5px 8px;
    border-radius: 5px;
    cursor: pointer;
}

/* 遮罩 */
.mask{
    background-color: rgba(0, 0, 0, .3);
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    display: none;
}
.mask .content{
    padding: 30px;
    border-radius: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
}
.mask .content .line{
    margin-bottom: 20px;
}
.mask .content .line input{
    height: 40px;
    border: 1px solid #ccc;
    outline: none;
    padding-left: 20px;
}
.mask .content .line:last-ch他ild{
    display: flex;
    justify-content: center;
}

.kuang{
    box-sizing: border-box;
    width: 450px;
    height: 250px;
    background-color: rgb(244, 240, 240);
    position: absolute;
    top: 260px;
    left: 550px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    display: none;
}
.kuang p{
    margin-bottom: 20px;
    font-weight: 700;
    color: grey;
}
.kuang b{
    color: grey;

}
.kuang input{
    border: 1px rgb(231, 224, 224) solid;
    width: 300px;
    height: 30px;
    margin-bottom: 15px;
    margin-left: 10px;
    padding-left: 10px; ;
    outline-style: none;
}
.kuang .btn{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.kuang .btn button{
    margin-right: 10px;
    padding: 8px 20px;
    border: 1px solid rgb(213, 209, 209);
    border-radius: 5px;
    cursor: pointer;
}
.kuang .btn button:nth-child(1){
    background-color: #1890ff;
    color: white;
}